package net.wangds.auth.user.entity;

import lombok.*;
import lombok.experimental.SuperBuilder;
import net.wangds.auth.module.AbstractAccountRef;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name="auth_weixin_user")
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class WexinUserEntity extends AbstractAccountRef {
    private static final long serialVersionUID = 0;

    @Getter
    @Setter
    @Column(length = 128)
    private String openId;

    @Getter
    @Setter
    @Column(length = 128)
    private String unionId;

    @Getter
    @Setter
    @Column(length = 128)
    private String agentId;

}
